package com.weishaoying.example.base.javaconfig;

/**
 * @author WeiShaoying
 * @date 2018/4/3
 */
public class OrderService {

    UserService userService;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public String sayHello() {
        System.out.println("========SayHello()");
        return userService.queryAll();
    }

    public void init() {
        System.out.println("----init");
    }

    public void destroy() {
        System.out.println("----destroy");
    }
}
